<html>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<f:view>
	<head>
		<title>Exmaple jsf app - login</title>
	</head>
<body>

	<h:form>
		<h3>Enter your name and password</h3>
		<table>
			<tr>
				<td>Name</td>
				<td>
					<h:inputText value="#{user.name}" />
				</td>
			</tr>	
			<tr>
				<td>Password</td>
				<td>
					<h:inputText value="#{user.password}" />
				</td>
			</tr>	
		</table>
		<p>
			<h:commandButton value="Log in" action="login" />
		</p>
	</h:form>
</body>
</f:view>
</html>